{{extend "req_layout.html"}}

{{block sub_menu}}
{{sub_menu(menu_items, 'risk', 'solutions')}}
{{end}}

{{block content_main}}
{{link "tforms.css"}}
{{use "jqutils"}}

<div class="content">
    <div class="box">
        <h2>风险整改措施详细信息</h2>
        <div class="box-body">
            {{embed view}}
        </div>
        <div style="padding:5px;">
        {{if request.user.is_superuser or has_role(request.user,'riskpoint_manager') or (request.user.department == '2' and request.user.is_gm and object._tech_lead_depart_ == request.user._kfzx_):}}
        <a class="btn btn-green" href="/risksolution/{{=object.id}}/edit" target="_blank">编辑风险整改措施信息</a>
        {{pass}}
        {{if request.user.is_superuser or has_role(request.user,'riskpoint_manager'):}}
        <a class="btn btn-green" href="/risksolution/delete/{{=object.id}}" target="_blank">删除风险整改措施信息</a>
        {{pass}}
        
        </div>
       
    </div>
</div>
{{end}}
